package cn.org.donald.mapper;

import cn.org.donald.pojo.dto.system.LogSqlGroupByMethodDto;
import cn.org.donald.pojo.entity.system.LogSql;
import cn.org.donald.pojo.vo.LogSqlGroupByMethodVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Donald
 * @since 2021-01-09
 */
public interface LogSqlMapper extends BaseMapper<LogSql> {

    /**
     * select sql log group by method name
     * @param logSqlGroupByMethodDto
     * @return
     */
    IPage<LogSqlGroupByMethodVo> selectListGroupByMethod(LogSqlGroupByMethodDto logSqlGroupByMethodDto);

}
